// JavaScript Document
$(document).ready(function(e) {
						   /*
    $(".left_1 li").hover(function(){
		 $(".left_1 li").css("color","#6276A7");
		$(this).css("color","#1E96E2");
		 $(".left_1 li:first").css("color","#ffffff");
		
		})
	*/
	$("#index_xxgkmlid").bind("click",function(){
		$(".info_right2_ul_li_1").removeClass("info_right2_ul_li_addbgimage");
		$(this).addClass("info_right2_ul_li_addbgimage");
		$("#right2tableid1").css("display","block");
		$("#right2tableid2").css("display","none");
		
		})
	
	
	$("#index_xxgkznid").bind("click",function(){
		$(".info_right2_ul_li_1").removeClass("info_right2_ul_li_addbgimage");
		$(this).addClass("info_right2_ul_li_addbgimage");
		$("#right2tableid2").css("display","block");
		$("#right2tableid1").css("display","none");
		
		})
		
		
		/*
		$("#yjx_xxgkmlid1").bind("mousemove",function(){
		$(".info_right2_ul_li_1").removeClass("info_right2_ul_li_addbgimage");
		$(this).addClass("info_right2_ul_li_addbgimage");
		//$("#right2tableid2").css("display","block");
		//$("#right2tableid1").css("display","none");
		
		})
		
		$("#yjx_xxgkmlid2").bind("mousemove",function(){
		$(".info_right2_ul_li_1").removeClass("info_right2_ul_li_addbgimage");
		$(this).addClass("info_right2_ul_li_addbgimage");
		//$("#right2tableid2").css("display","block");
		//$("#right2tableid1").css("display","none");
		
		})
		
		
		$("#yjx_xxgkmlid3").bind("mousemove",function(){
		$(".info_right2_ul_li_1").removeClass("info_right2_ul_li_addbgimage");
		$(this).addClass("info_right2_ul_li_addbgimage");
		//$("#right2tableid2").css("display","block");
		//$("#right2tableid1").css("display","none");
		
		})*/
		$(".info_right2_ul_li_1").bind("mousemove",function(){
	        var liAll = $(".info_right2_ul_li_1");
			liAll.removeClass("info_right2_ul_li_addbgimage");
			$(this).addClass("info_right2_ul_li_addbgimage");
			var index = liAll.index($(this));
			$(".yjx_right3_table").hide();
			$(".yjx_right3_table").eq(index).show();
			//$("#right2tableid2").css("display","block");
			//$("#right2tableid1").css("display","none");
			if(index == 0)
			{
				$(".yjx_right3_text").css("border","solid 1px #c1cdff");
			}
			else
			{
				$(".yjx_right3_text").css("border",0);
			}
			
		})
		
		  
		
		
		$("#jgfkright2liid1").bind("click",function(){
		   $(".info_right2_ul_li_1").removeClass("info_right2_ul_li_addbgimage");
		    $(this).addClass("info_right2_ul_li_addbgimage");
		  //$("#right2tableid2").css("display","block");
		  //$("#right2tableid1").css("display","none");
		
		})
		
			
		$("#jgfkright2liid2").bind("click",function(){
		   $(".info_right2_ul_li_1").removeClass("info_right2_ul_li_addbgimage");
		    $(this).addClass("info_right2_ul_li_addbgimage");
		  //$("#right2tableid2").css("display","block");
		  //$("#right2tableid1").css("display","none");
		
		})
		
			
		$("#jgfkright2liid3").bind("click",function(){
		   $(".info_right2_ul_li_1").removeClass("info_right2_ul_li_addbgimage");
		    $(this).addClass("info_right2_ul_li_addbgimage");
		  //$("#right2tableid2").css("display","block");
		  //$("#right2tableid1").css("display","none");
		
		})
		
			
		$("#jgfkright2liid4").bind("click",function(){
		   $(".info_right2_ul_li_1").removeClass("info_right2_ul_li_addbgimage");
		    $(this).addClass("info_right2_ul_li_addbgimage");
		  //$("#right2tableid2").css("display","block");
		  //$("#right2tableid1").css("display","none");
		
		})
		
		
			
		$("#jgfkright2liid5").bind("click",function(){
		   $(".info_right2_ul_li_1").removeClass("info_right2_ul_li_addbgimage");
		    $(this).addClass("info_right2_ul_li_addbgimage");
		  //$("#right2tableid2").css("display","block");
		  //$("#right2tableid1").css("display","none");
		
		})
	
	  $("#xxgkmlli2").bind("click",function(){
		    $("#xxgkmli2treebox").toggle("slow");
		  
		  })
		  /*
		  
	  $("#bmzfxxgkli").bind("click",function(){
											 alert(1);
		    $("#bmzfxxgktreebox").toggle("slow");
		  
		  })
	 $("#xzBar").bind("click",function(){
									   alert(1);
		    $(".xz").toggle("slow");
		  
		  })
	 */
	$(".left_1 .left1_li:not(.onespace)").click(function(){
		var this_ = $(this);
		
		
			var index = $(".left_1 .left1_li:not(.onespace)").index(this_);
			var showMenu = $(".left_1 ul .subMenu").eq(index);
			//alert(showMenu.css("display"));
			
		if(showMenu.css("display")=="none")
		{
			$(".left_1 ul .subMenu").hide();
			showMenu.slideDown();
		}
		else
		{
			showMenu.slideUp("slow");
			//$(".left_1 ul .subMenu").hide();
		}
	})
});